﻿(function ($) {
    $(window).load(function () {

        var $slider_ul_id = $('#slider'); //Please define slider items list ID

        $slider_ul_id.nivoSlider({
            effect: 'fade',
            slices: 15,
            boxCols: 8,
            boxRows: 4,
            animSpeed: 500,
            pauseTime: 6000,
            startSlide: 0,
            directionNav: false,
            directionNavHide: false,
            controlNav: true,
            controlNavThumbs: false,
            controlNavThumbsFromRel: false,
            controlNavThumbsSearch: 'XL.jpg',
            controlNavThumbsReplace: 'XS.jpg',
            keyboardNav: false,
            pauseOnHover: false,
            manualAdvance: false,
            captionOpacity: 1,
            prevText: 'Prev',
            nextText: 'Next',
            beforeChange: function () { },
            afterChange: function () { },
            slideshowEnd: function () { },
            lastSlide: function () { },
            afterLoad: function () { }
        });
    });
})(jQuery);     